import xadmin
from .models import Contact


class ContactAdmin(object):
    list_display = ["customer_name", "address", "your_name", "mobile", "add_time"]
    search_fields = ["customer_name", "your_name", "mobile"]

xadmin.site.register(Contact, ContactAdmin)